#ifndef __CATOBSTACLE_H__
#define __CATOBSTACLE_H__

#include "DifficultyFactor.h"

class CatObstacle : public DifficultyFactor
{

private:
	// Equation for Alive Duration: y = ke^-x + c
	// Decreasing at decreasing rate
	float 	_varK, _varC;

	//===== FUNCTIONS =====
	void	setEquationVariable();				// Set variable K and C for the equation
	float	getObstacleChance();				// Get chance to hit obstacle based on equation

public:

	//===== CONSTRUCTOR =====
	CatObstacle(double weight, int difficulty) : DifficultyFactor(weight, difficulty)
	{
		// Sub class of DifficultyFactor
		// Default constructor
		setEquationVariable();
	}

	//===== DESTRUCTOR =====
	~CatObstacle(void);

	//===== FUNCTIONS =====
	void	update(int difficulty);		// To be overrided


	//===== GETTERS =====

	//===== SETTERS =====

};

#endif // __CATOBSTACLE_H__
